package com.syp.hehe.dao;

import org.apache.ibatis.annotations.Param;

import com.syp.hehe.domain.pojo.UserSchema;

public interface UserMapper {

	public UserSchema getById(Long id);

	public UserSchema getByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

	public int deleteById(Long id);

	public int insert(UserSchema user);

	public int insertSelective(UserSchema user);

	public int updateById(UserSchema user);

	public int updateByIdSelective(UserSchema user);
}